package com.ecr.hub.service.rail;

import java.util.List;

import com.ecr.hub.ApplicationException;
import com.ecr.hub.model.rail.Rail;
import com.ecr.hub.model.rail.TypeBundle;

public interface IRailManager {

	public List<Rail> getAllList() throws ApplicationException;

	public List<Rail> getListByTypeBundle(int id, int active) throws ApplicationException;

	public List<TypeBundle> getListTypeBundle() throws ApplicationException;
	
	public Rail getById(int id) throws ApplicationException; 

	public void update(Rail rail) throws ApplicationException;
}
